package com.woniuxy.usercoachassemble.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author Lucas
 * @since 2020-07-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class YogaGymSignedCoach implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "yoga_gym_signed_coach_id", type = IdType.AUTO)
    private Integer yogaGymSignedCoachId;

    private Integer yogaGymId;

    private Integer coachId;

    private Integer status;

    private Integer a;

    private String b;

    private String c;

    //不交给mybatis管理
    @TableField(exist=false)
    private User user;
    @TableField(exist = false)
    private Userinfo userinfo;
    @TableField(exist=false)
    private  CoachInfo coachInfo;
    @TableField(exist=false)
    private List<CoachTime> coachTime;

}
